package com.lottery.entity;

import java.io.Serializable;

public class LotteryExchange implements Serializable {
	/**
	 * 彩票兑换表
	 */
	private static final long serialVersionUID = 981754043220515480L;

	private int id; // id
	private int userId;// 用户id
	private int bettinginfoId; // 投注详情id
	private int lotteryType; // 彩票种类
	private String playwayName;// 彩票玩法名称
	private String bettingrule;// 投注规则
	private String expect;// 开奖期号
	private double winningamount; // 中奖金额

	public LotteryExchange() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getBettinginfoId() {
		return bettinginfoId;
	}

	public void setBettinginfoId(int bettinginfoId) {
		this.bettinginfoId = bettinginfoId;
	}

	public int getLotteryType() {
		return lotteryType;
	}

	public void setLotteryType(int lotteryType) {
		this.lotteryType = lotteryType;
	}

	public String getPlaywayName() {
		return playwayName;
	}

	public void setPlaywayName(String playwayName) {
		this.playwayName = playwayName;
	}

	public String getBettingrule() {
		return bettingrule;
	}

	public void setBettingrule(String bettingrule) {
		this.bettingrule = bettingrule;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	public double getWinningamount() {
		return winningamount;
	}

	public void setWinningamount(double winningamount) {
		this.winningamount = winningamount;
	}

	@Override
	public String toString() {
		return "LotteryExchange [id=" + id + ", userId=" + userId + ", bettinginfoId=" + bettinginfoId
				+ ", lotteryType=" + lotteryType + ", playwayName=" + playwayName + ", bettingrule=" + bettingrule
				+ ", expect=" + expect + ", winningamount=" + winningamount + "]";
	}

}
